//
// Created by yunlang on 2021/12/8.
//

#ifndef FILEARCHIVER_PRIORITYQUEUE_H
#define FILEARCHIVER_PRIORITYQUEUE_H
#include "TreeNode.h"

class PriorityQueue
{
private:
    static const unsigned int CAPACITY;
    int size;
    TreeNode** data;
public:
    PriorityQueue();
    ~PriorityQueue();

    int getSize();
    void push(TreeNode* key);
    void pop();
    TreeNode* top();
};
#endif //FILEARCHIVER_PRIORITYQUEUE_H
